/*
 * simpleStat.h
 *
 *  Created on: 29-09-2011
 *      Author: pawel
 */

#ifndef SIMPLESTAT_H_
#define SIMPLESTAT_H_
#include<vector>
#include<valarray>
//#include"../smart2DArray.h"
class alignContainerV;
class simpleStat{
private:
	double mean;
	double stdDev;
	size_t length;
	std::valarray<int> data;
	void calculateStats();
public:
	simpleStat(alignContainerV *alignContainerPtr);
	simpleStat(std::vector<int> &scoreVector);
	simpleStat(std::valarray<int> &scoreArray);
	double getZscore(int value)const;
	double getMean();
	double getStdDev();
};




#endif /* SIMPLESTAT_H_ */
